package jmu.edu.yjc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jmu.edu.yjc.domain.entity.PageView;
import jmu.edu.yjc.mapper.PageViewMapper;
import jmu.edu.yjc.service.PageViewService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 浏览量表(PageView)表服务实现类
 *
 * @author makejava
 * @since 2023-04-09 17:46:54
 */
@Service("pageViewService")
public class PageViewServiceImpl extends ServiceImpl<PageViewMapper, PageView> implements PageViewService {

    @Override
    public List<String> getViewCount() {
        return baseMapper.get7DayViewCount();
    }
}
